package cn.gzsxt.po;

import com.alibaba.fastjson.annotation.JSONField;


/**
 * 对应数据库中的t_room表
 */
public class Room {
	private int id;
	@JSONField(name="name")
	private String roomname;
	transient private int roomtype;
	transient private String  roomnum;
	transient private int floor_id;
	private int statustenant;// 出租或出售状态； 0 未出租  1已经出租 2 未售3 已售
	transient private double roomarea;
	public Room(int id, int roomtype, String roomname, String roomnum, int floor_id, int statustenant, double roomarea) {
		super();
		this.id = id;
		this.roomtype = roomtype;
		this.roomname = roomname;
		this.roomnum = roomnum;
		this.floor_id = floor_id;
		this.statustenant = statustenant;
		this.roomarea = roomarea;
	}
	public Room() {
		super();
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getRoomtype() {
		return roomtype;
	}
	public void setRoomtype(int roomtype) {
		this.roomtype = roomtype;
	}
	public String getRoomname() {
		return roomname;
	}
	public void setRoomname(String roomname) {
		this.roomname = roomname;
	}
	public String getRoomnum() {
		return roomnum;
	}
	public void setRoomnum(String roomnum) {
		this.roomnum = roomnum;
	}
	public int getFloor_id() {
		return floor_id;
	}
	public void setFloor_id(int floor_id) {
		this.floor_id = floor_id;
	}
	public int getStatustenant() {
		return statustenant;
	}
	public void setStatustenant(int statustenant) {
		this.statustenant = statustenant;
	}
	public double getRoomarea() {
		return roomarea;
	}
	public void setRoomarea(double roomarea) {
		this.roomarea = roomarea;
	}
	@Override
	public String toString() {
		return "Room [id=" + id + ", roomname=" + roomname + ", roomtype="
				+ roomtype + ", roomnum=" + roomnum + ", floor_id=" + floor_id
				+ ", statustenant=" + statustenant + ", roomarea=" + roomarea
				+ "]";
	}
	
}
